package cn.edu.scau.cmi.liangzijian.singleton;

public class Chairman {
	
	private static Chairman chairman;
	private final String name;
	
	private Chairman(String name) {
		this.name = name;
	}
	
	static public  Chairman getInstance(String name) {
		if(chairman == null)
			return (chairman = new Chairman(name));
		return chairman;
	}

	public String getName() {
		return name;
	}
	
}
